xend: passthrough: add an option pci-passthrough-strict-check
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 12:52:48 +0000 (13:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 12:52:48 +0000 (13:52 +0100)
commitf703973da4198aebaadb0b3aa7fd66223c137ffc
treef77ce1d08a1a3613242f4231029eab0a0734d058
parent8b4225a532d32d893f6a3cecbabedb0d551d879b
xend: passthrough: add an option pci-passthrough-strict-check

Currently when assigning device to HVM guest, we use the strict check
for HVM guest by default.(For PV guest we use loose check
automatically if necessary.)

When we assign device to HVM guest, if we meet with the co-assignment
issues or the ACS issue (see changeset 20081: 4a517458406f), we could
try changing the option to 'no' -- however, we have to realize this
may incur security issue and we can't make sure the device assignment
could really work properly even after we do this.

The option is located in /etc/xen/xend-config.sxp:
(pci-passthrough-strict-check yes)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/examples/xend-config.sxp
tools/python/xen/util/pci.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/XendOptions.py
tools/python/xen/xend/server/pciif.py